package com.example.amap.service

import com.alibaba.android.arouter.facade.template.IProvider
import com.example.amap.location.bean.LocationInfo
import com.example.amap.location.observer.ILocationObserver

interface ILocationService : IProvider {

    fun init()

    fun addLocationObserver(observer: ILocationObserver)

    fun removeLocationObserver(observer: ILocationObserver)

    fun getLocationInfo(): LocationInfo?
}